package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 审核历史
 * </p>
 *
 * @author caoYong
 * @since 2019-09-03
 */
@Data
@TableName("pms_approve_his")
@ApiModel(value="ApproveHis对象", description="审核历史")
public class ApproveHis implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "HIS_ID", type = IdType.UUID)
    private String hisId;

    @ApiModelProperty(value = "业务ID")
    @TableField("BUSINESS_ID")
    private String businessId;

    @ApiModelProperty(value = "数据字典KEY")
    @TableField("DICT_TYPE")
    private String dictType;

    @ApiModelProperty(value = "操作类型,数据字典VALUE")
    @TableField("HANDLE_TYPE")
    private String handleType;

    @ApiModelProperty(value = "操作时间")
    @TableField("HANDLE_TIME")
    private Date handleTime;

    @ApiModelProperty(value = "操作人代码")
    @TableField("HANDLE_USER")
    private String handleUser;

    @ApiModelProperty(value = "操作备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

}
